-include $(TOP_DIR)/.config

export CC	:= gcc
export CC_PREFIX	:= $(CONFIG_LINUX_TOOLCHAIN_PREFIX)
export EXEC_PATH	:= $(CONFIG_LINUX_TOOLCHAIN_PATH)


export BUILDROOT_SRC_PATH	:= buildroot
export BUILDROOT_BUILD_DIR	:= $(BUILD_DIR)/buildroot

export OPENSBI_SRC_PATH		:= opensbi
export OPENSBI_BUILD_DIR	:= $(BUILD_DIR)/opensbi

export UBOOT_SRC_PATH		:= uboot
export UBOOT_BUILD_DIR		:= $(BUILD_DIR)/uboot
export UBOOT_TPL_BUILD_DIR	:= $(BUILD_DIR)/tpl

export LINUX_SRC_PATH		:= linux
export LINUX_BUILD_DIR		:= $(BUILD_DIR)/linux

export BOOTROM_DIR			:=$(TOP_DIR)/bootrom/

export QEMU_SRC_PATH		:= qemu
export QEMU_BUILD_DIR		:= $(TOP_DIR)/output/qemu

export CONFIG_GEN_IMG_SCRIPT	= $(TOP_DIR)/board/common/genimage_script/gen_image.sh

export BOARD_NAME			:=$(CONFIG_BOARD_NAME)
export OPENSBI_PLATFORM		:=$(CONFIG_OPENSBI_PLATFORM)
export BUILDROOT_DEFCONFIG	:=$(CONFIG_BUILDROOT_DEFCONFIG)
export UBOOT_DEFCONFIG		:=$(CONFIG_UBOOT_DEFCONFIG)
export LINUX_DEFCONFIG		:=$(CONFIG_LINUX_DEFCONFIG)

export UBOOT_TPL_DEFCONFIG	:=$(CONFIG_UBOOT_TPL_DEFCONFIG)

